package com.jt.mall.common.po;

/**
 * @author wangning
 * @create 2021-12-27 15:15
 */
public class ItemCat extends BasePojo{
	private static final long serialVersionUID = -8881186912981909714L;
	private Long id;			//主键
	private Long parentId;		//父ID=0时，代表一级类目
	private String name;		//分类名称
	private Integer status;		//默认值为1，可选值：1正常，2删除'
	private Integer sortOrder;	//排序号
	private Boolean isParent;	//是否为父级 true closed  false open


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getSortOrder() {
		return sortOrder;
	}

	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	public Boolean getParent() {
		return isParent;
	}

	public void setParent(Boolean parent) {
		isParent = parent;
	}

	@Override
	public String toString() {
		return "ItemCat{" +
				"id=" + id +
				", parentId=" + parentId +
				", name='" + name + '\'' +
				", status=" + status +
				", sortOrder=" + sortOrder +
				", isParent=" + isParent +
				"} " + super.toString();
	}
}
